﻿using System.Windows;
using jSLCore.Client.Presentation;
using jSLCore.Client.Presentation.ApplicationContainer;
using jSLCore.Client.Presentation.Wpf.TelerikSupport;
using Telerik.Windows.Controls;

namespace jSLApp.Client.Wpf
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            StyleManager.ApplicationTheme = new  Office_BlueTheme(); //new Windows7Theme();

            InitializeComponent();
            
            var applicationContainer = new ApplicationContainer(new MainContentContainer());

            var root = applicationContainer.InitializeSupport();
            Loader.InitializejBinding();
            
            

            Content = root;
        }
    }
}
